<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>新入院长者准备表详情</title>
    <#include "/common/resource.ftl">
    <script type="text/javascript">
        $(function () {
            <#if (params.id)??>
                $.ajaxRequest({
                    url: '${params.contextPath}/web/newElderPreparation/query.json',
                    data: {id: "${params.id}"},
                    success: function (data) {
                        if (!data.success) {
                            $.message(data.message);
                            return;
                        }
                        var record = data.data;
                        for (var key in record) {
                            $("[field='" + key + "']").html(record[key]);
                        }
                    }
                });
            </#if>
        });
    </script>
    <style>
        .layui-card-header{font-weight:bold;}
        .layui-table th{background-color:#f2f2f2 !important;width:120px;}
    </style>
</head>
<body style="background:#eee;">
<div class="ui-table-div">
    <table class="layui-table ui-table">
        <tr>
            <th>老人姓名</th>
            <td field="elderName">--</td>
        </tr>
        <tr>
            <th>房间号</th>
            <td field="roomNum">--</td>
        </tr>
        <tr>
            <th>入住时间</th>
            <td field="entryDateStr">--</td>
        </tr>
        <tr>
            <th>物品准备</th>
            <td field="itemPreparation">--</td>
        </tr>
        <tr>
            <th>检查卫生</th>
            <td field="checkHygiene">--</td>
        </tr>
        <tr>
            <th>记录本</th>
            <td field="notebook">--</td>
        </tr>
        <tr>
            <th>电表度数</th>
            <td field="powerMeter">--</td>
        </tr>
        <tr>
            <th>评估</th>
            <td field="assessment">--</td>
        </tr>
        <tr>
            <th>打名字</th>
            <td field="printName">--</td>
        </tr>
        <tr>
            <th>加微信</th>
            <td field="wechat">--</td>
        </tr>
        <tr>
            <th>入院须知</th>
            <td field="admissionNotice">--</td>
        </tr>
        <tr>
            <th>其他特殊情况</th>
            <td field="otherSpecialCircumstances">--</td>
        </tr>
    </table>
</div>
</body>

</html>
